import http from '@/utils/request'

/**
* 查询列表
* @returns
*/
export async function getShopList(params) {
    return await http.get('/api/shop/list',params)
  }
/**
 *  新增
 * @param {*} params 
 * @returns 
 */
  export async function AddShopList(params) {
    return await http.post('/api/shop/add',params)
  }

    /**
 * 修改
 * @returns 
 */
export async function updateShop(params) {
  return await http.put('/api/shop/update',params)
}

/**
 * 删除
 * @returns 
 */
export async function deleteShop(params) {
  return await http.delete('/api/shop/delete',params)
}

export async function auditShop(params) {
  return await http.put('/api/shop/audit',params)
}